gltexture: Small refactoring
authorMatthias Clasen <mclasen@redhat.com>
Mon, 30 Jan 2023 13:24:02 +0000 (08:24 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 2 Feb 2023 09:01:36 +0000 (10:01 +0100)
commit12057c8a30e4f64c86ef887c6a8a4c7fc7813f98
treeb925148d397ca6a80b4a7580aa75c24f194b16e9
parentb7c422cb98b107709cf7d81bc6c0e68e27961ecb
gltexture: Small refactoring

We do this in two places, so factor out
the dropping of GL resources into a helper.
gdk/gdkgltexture.c